package cn.lger.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 评论区的信息实体，与电影评论，影评评论共用
 *
 * @author Pro
 * @date 2018-06-13.
 */

@ApiModel(description = "评论实体")
public class Comment {
    @ApiModelProperty("评论id")
    private int id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("评论内容")
    private String content;
    @ApiModelProperty("文章id")
    private int articleId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }
}
